home *** CD-ROM | disk | FTP | other *** search
/ Ray Dream Studio 5 / Ray Dream.iso / pc / DreamSDK / Windows / SAMPLES / IMPORTER / IMP / IMPFAC.H < prev   
Encoding:
C/C++ Source or Header  |  1997-07-11  |  727 b   |  30 lines

  1. /*$Id: ImpFac.h 1.1 1996/08/06 18:41:10 DAMIEN Exp $*/
  2.  
  3. #ifndef __IMPFAC__
  4. #define __IMPFAC__  
  5.  
  6. #ifndef __I3DEX__
  7. #include "I3DEx.h"
  8. #endif
  9.                   
  10. // Easy Importer Class Factory :
  11. class EasyImporterClassFactory : public IClassFactory {
  12. public:
  13.   EasyImporterClassFactory(void);
  14.   ~EasyImporterClassFactory(void);
  15.  
  16.   //IUnknown members
  17.   STDMETHODIMP         QueryInterface(REFIID, LPVOID FAR*);
  18.   STDMETHODIMP_(ULONG) AddRef(void);
  19.   STDMETHODIMP_(ULONG) Release(void);
  20.  
  21.   //IClassFactory members
  22.   STDMETHODIMP         CreateInstance(LPUNKNOWN, REFIID, LPVOID FAR*);
  23.   STDMETHODIMP         LockServer(BOOL);
  24. protected:
  25.   ULONG           m_cRef;
  26.   };                         
  27.  
  28. #endif
  29.  
  30.